package po;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/12/20.
 */
public class Orders {
    private int id;
    private int user_id;
    private int number;
    private Date createtime;
    private String note;
    private User user;
    private List<OrderItems> orderItemsList;

    public List<OrderItems> getOrderItemsList() {
        return orderItemsList;
    }

    public void setOrderItemsList(List<OrderItems> orderItemsList) {
        this.orderItemsList = orderItemsList;
    }

    public int getUser_id() {
        return user_id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id(int i) {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Date getCreatetime(Date date) {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", number=" + number +
                ", orderItemsList=" + orderItemsList +
                '}';
    }
}
